package Service.Impl;

import Dao.DeadErrorDao;
import Model.DeadError;
import Service.DeadErrorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeadErrorServiceImpl implements DeadErrorService {
    @Autowired
    DeadErrorDao deadErrorDao;
    /**
    获取老人去世异常记录
    **/
    @Override
    public List<DeadError> getDeadErrorList() {
        return deadErrorDao.getDeadErrorList();
    }
}
